<?php
include("conn.php");
$id = $_POST['id'];
$pinpai = $_POST['pinpai'];
$thsc = $_POST['thsc'];
$ll = $_POST['ll'];
$jg = $_POST['jg'];
$sql ="update result set pinpai ='".$pinpai."',thsc='".$thsc."',ll='".$ll."',jg=$jg where id =$id";
if($conn->query($sql)){
	echo"修改成功！";
}else{
	echo"Error:".$sql ."<br>".$conn->error;
}
$conn->close();